Skip to content

Update dependency diffusers to v0.43.0 - #39

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/diffusers-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/diffusers-0.x

Conversation

@renovate

@renovate renovate Bot commented Mar 5, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
diffusers ==0.36.0 → ==0.43.0 age confidence

Release Notes

huggingface/diffusers (diffusers)

v0.43.0: Diffusers 0.43.0: MiniMax-H3-Image, Pika H3 Flex, P-H3-Image, Kandinsky S2V, and PAN 2

Compare Source

[!TIP]
This release adds five modular model integrations for image generation, editing, video with audio, speech-driven animation, and world simulation. It also improves attention backends, tensor parallelism, LoRA handling, and checkpoint saving.

MiniMax-H3-Image

MiniMax-H3-Image supports text-to-image generation and editing with one or more reference images. The integration includes a dedicated image transformer and autoencoder, with a fixed six-step sampling schedule and distilled guidance. A separate prompt-enhancement workflow expands short requests and suggests an aspect ratio.

Load it through ModularPipeline.from_pretrained(...), then call load_components(...). The MiniMax-H3-Image documentation covers reference-image prompts, output sizes, prompt enhancement, and component offloading.

Pika H3 Flex

Pika H3 Flex builds on MiniMax-H3 to generate video and synchronized stereo audio in six steps. It supports text prompts, first and/or last frames, and multimodal references through separate modular workflows. The integration includes LoRA adapter loading and a guide to sharing already-loaded MiniMax-H3 components between the two pipelines.

See the Pika H3 Flex documentation for workflow selection, adapter loading, and component reuse.

P-H3-Image

P-H3-Image from Pruna AI brings text-to-image generation and instruction-based editing with up to eight input images. Its modular pipeline includes a prompt upsampler that turns requests into detailed generation or editing prompts, an image autoencoder, and a text connector. The checkpoint uses eight sampling steps with distilled guidance.

See the P-H3-Image documentation for image sizing, reference-image editing, prompt upsampling, and offloading. Thanks to @​nifleisch for the integration in #​15171.

Kandinsky S2V 1.0

Kandinsky S2V 1.0 animates a person from a reference image and a speech recording, including full-body movement aligned with the speech. It generates video in five-second chunks, carrying FramePack memory between chunks. The supplied speech provides the soundtrack; the model generates the video.

The modular integration supports Lite and Pro checkpoints, including distilled variants that use PiflowScheduler with a default of 16 steps. See the Kandinsky S2V documentation for audio preparation, checkpoint settings, and memory requirements. Thanks to @​nvsm for the integration in #​15164.

PAN 2

PAN 2 simulates scenes from prompts describing actions and camera movements over time. This release integrates its 29B generative simulator through text-to-video and image-to-video modular workflows. Context parallelism and FirstBlockCache, MagCache, and TaylorSeer caching are supported. Prompt and video safety checks are enabled by default and require the separate pan2-guardrail package.

See the PAN 2 documentation for loading, guardrails, and distributed inference. The integration covers the simulator; the separate reasoning model that writes its prompts is linked from the model documentation. Thanks to @​wu-qing-157 for the integration in #​15202.

Other highlights
  • MiniMax-H3 tensor parallelism: shard the transformer across devices, including its large modulation projections. Replicated parameters also retain their intended dtype during tensor-parallel loading. See: #​14609, #​15147.
  • AMD attention support: the new aiter_sage_hub backend brings a Hub-hosted SageAttention kernel to RDNA4 gfx1201 GPUs, with native SDPA fallback for unsupported input shapes. See #​15060.
  • Attention backend fixes: choosing a backend on one model no longer changes the backend of unrelated models. Individual attention modules now check requirements and download Hub kernels when selecting a backend, and the FlashAttention-2 integration works with newer Hub kernel versions. See #​14335, #​15000.
  • LoRA fixes: component-weight dictionaries now broadcast correctly across multiple adapters, and Kohya text-encoder LoRAs retain their per-module alpha values. Adapter-weight documentation and type hints also clarify supported formats. See: #​15128, #​15157.
  • Checkpoint saving: save_pretrained() preserves other variants' shards and removes obsolete indexes when replacing a sharded checkpoint with a single-file checkpoint. See #​14844.
  • Modular caching: stateful cache hooks reset after each pipeline call, including calls that raise an exception, so subsequent generations start with fresh cache state. See #​15212.
  • Training examples: fix gradient clipping in the text-to-image LoRA and SDXL LCM LoRA scripts, update FLUX quantized embedding preparation for current Transformers, and remove expired deprecation blocks that crashed training with --revision. See: #​15184, #​15144, #​15118.
  • Documentation: reorganized distributed-inference guides, updated AWS Trainium examples for native TorchNeuron, and corrected Cosmos3 FP8 checkpoint locations. See: #​15172, #​15138, #​15236.
Deprecations and compatibility
  • Dependency checks: availability checks now enforce supported dependency versions. An installed package below the supported minimum is treated as unavailable, with an upgrade message. For example, the existing minimums of torch>=2.6 and transformers>=4.41.2 are now enforced by these checks. (#​15148)
  • Relocated model components: latent upscalers and condition embedders move under diffusers.models. Existing checkpoints remain loadable, while old pipeline-module imports are deprecated for removal in 1.0.0. Use public imports such as from diffusers import LTX2TextConnectors. See: #​15111.
  • Modular input defaults: explicitly passing None preserves that value. Omitted inputs receive the default of the first block that reads them. An InputParam declared both required and with a non-None default is treated as optional and emits a warning. See: #​15135, #​14521.
  • Training behavior: --max_grad_norm now takes effect in the affected LoRA examples. Runs with gradients above the clipping threshold can therefore behave differently from earlier versions. See: #​15184.
  • Component loading: repository configuration no longer causes arbitrary component-library imports. Custom component modules outside the supported library set must already be imported by the caller, and modular custom-block loading checks remote-code trust before processing requirements. See: 3076605.

Thanks to everyone who contributed code, documentation, reviews, and issue reports!

All commits

Significant community contributions

Thanks to our issue reporters

These authors opened issues resolved by PRs merged into this release. Thank you for helping improve Diffusers!

Full changelog: v0.42.0 to the v0.43.0 release commit

v0.42.1: — fix component resolution in from_pretrained to prevent trust_remote_code bypass

Compare Source

This is a security release. See GHSA-4prv-5hj7-c2xr for details.

This patch release fixes how a component's declared library name is resolved when loading with from_pretrained.

Pipelines and models declare each component as a ["<library>", "<class>"] pair in model_index.json / config.json. This release changes how that library name is resolved across the DiffusionPipeline, AutoModel, and ModularPipeline loading paths, and adds a clearer error when the declared class is not found in the resolved module.

All users on 0.42.0 are encouraged to upgrade:

pip install diffusers==0.42.1

v0.42.0: Diffusers 0.42.0: FLUX.3, Fibo 2.0, Kandinsky 6, and more

Compare Source

[!TIP]
This release brings FLUX.3 Image Klein, Bria Fibo 2.0, Kandinsky 6, SANA-WM, and RFD4-Proteína to Diffusers, alongside new adapter support, hardware integrations, and modular pipelines.
🚨 Python 3.11 or newer is now required.

FLUX.3 Image Klein

FLUX.3 Image Klein from Black Forest Labs supports text-to-image generation and editing with one or more reference images. Both the base and step-distilled checkpoints are available through ModularPipeline, with an integrated prompt upsampler that turns short requests into detailed captions and supports layout instructions with bounding boxes. The integration also includes single-file transformer loading and BFL FP8r and NVFP4 checkpoints.

Load the pipeline with ModularPipeline.from_pretrained(...), then load its weights with load_components(...). See the FLUX.3 documentation for examples and guidance on prompt upsampling, editing, and memory use.

Bria Fibo 2.0

Bria Fibo 2.0 supports image generation from structured JSON captions and editing with up to five reference images through BriaFibo2Pipeline. The integration includes the dev checkpoint and the edit-turbo checkpoint, which runs in four steps without classifier-free guidance. See the Fibo 2.0 documentation for the supported prompt formats.

LoRA loading and DreamBooth LoRA training examples are included for text-to-image and image editing. Thanks to @​muhammadali-afridi for the model integration (#​14991).

Kandinsky 6

Kandinsky 6 generates video with synchronized audio from text or a reference image through Kandinsky6TI2VAPipeline. A separate Kandinsky6SRPipeline provides video super-resolution. The integration supports Pro and Lite generation checkpoints, including distilled variants, and introduces PiflowScheduler for the distilled models. See the Kandinsky 6 documentation for checkpoint-specific settings and super-resolution requirements. Thanks to @​lefff for the model integration (#​14949).

SANA-WM

SANA-WM generates video from a starting image, a text prompt, and a camera trajectory. Control the camera with explicit poses or a WASD/IJKL action string, then optionally refine the output with the separate LTX-2 refiner. See the SANA-WM documentation for the two-stage workflow.

Thanks to @​lawrence-cj for the integration (#​13881).

RFD4-Proteína

RFD4-Proteína from the Baker Lab and NVIDIA brings biomolecular design to Diffusers. It jointly generates protein sequences and all-atom structures while conditioning on molecular context such as binding targets, motifs, or ligands. The integration includes the pipeline, transformer, autoencoder, schedulers, and LoRA loading. Preparing model inputs and writing CIF files uses the separate rfd4-proteina-prep package; see the RFD4-Proteína documentation.

Thanks to @​kierandidi for the integration (#​15088).

Other highlights
  • Qwen-Image 2.1: new modular pipelines and tensor parallelism support. (#​14976, #​14865)
  • More hardware support: TorchTPU integration covers eager execution, torch.compile, and tensor parallelism. Tensor parallelism also gains Intel XPU support. (#​14039, #​15013)
  • LoKr adapters: load LyCORIS Kronecker-product adapters for Z-Image and FLUX.2, including Klein. (#​14163)
  • LTX-2 motion control: motion_speed controls the positional time base independently of playback frame rate. Use a compatible adapter for speeds far from the default, such as the LTX-2.5 slow-motion control LoRA. (#​14967)
  • KVAE-Audio: AutoencoderKLKVAEAudio adds encoding and decoding for 48 kHz audio. (#​14384)
  • Caching: MagCache now supports FLUX.2. (#​14756)
  • Adapter fixes: Z-Image honors the LoRA scale in joint_attention_kwargs, Qwen-Image applies .alpha scaling to lora_A/lora_B checkpoints, and text encoders correctly report active adapters. (#​15015, #​15016, #​14961)
  • Pipeline fixes: preserve explicit timesteps in FlowMatchEulerDiscreteScheduler, fix Anima text encoder exports and standalone core denoising, and preserve the three-value return from InpaintProcessor.preprocess when no mask is supplied. (#​14956, #​14943, #​14481)
Deprecations and compatibility
  • Python 3.10 support is dropped. Upgrade to Python 3.11 or newer before installing this release. (#​15030)
  • Modular latent outputs: FLUX, Krea 2, and LTX-Video now unpack latents in their core denoise groups. Custom workflows should pass unpacked latents to their decode blocks. The fallback for packed latents is deprecated for removal in 0.47.0. (#​14737)
  • Hub compatibility: the supported huggingface_hub range is now >=1.32.0,<3.0. (#​14863)
  • TorchAO imports: having a TorchAO version older than 0.15 installed no longer breaks model imports. TorchAO quantization still requires version 0.15 or newer. (#​15095)

Thanks to everyone who contributed to this release!

All commits

Significant community contributions

The following contributors added models and capabilities in this release:

Full changelog: v0.41.0 to the v0.42.0 release commit

v0.41.0: Diffusers 0.41.0: QwenImage 2.1 pipeline and more

Compare Source

[!TIP]
This release brings Qwen-Image 2.1 to Diffusers, with text-to-image generation, image editing, native transparency, and LoRA training.

Starting with this release, we’re adopting the Transformers release philosophy: coordinating minor releases around new model integrations, while including the other changes merged since the previous release. Patch releases remain focused on fixes. See our release policy.

Qwen-Image 2.1

Qwen-Image 2.1 unifies image generation and editing in one model. Its visual generation component has 7B parameters, and it supports multiple reference images and native RGBA output for transparent images. Check out the docs for more details.

Thanks to @​naykun for the model integration (#​14804).

Other highlights

  • Tensor-parallel checkpoint loading: each rank reads its own slice of sharded weights directly, reducing the memory needed during loading. (#​14544)
  • LTX-2.5 DFR: new pipelines support generation with keyframe slots and composable spatial and temporal refinement. (#​14567)
  • Cosmos 3: SeaCache support and mixed W8A8/W8A16 denoising for ModelOpt FP8 checkpoints. (#​14663, #​14664)
  • Modular Diffusers: Wan 2.2 VACE gains modular blocks, and loading from existing local paths avoids unnecessary weight downloads. (#​14432, #​14797)
  • More single-file loaders: support for Krea 2 and MiniMax-H3. (#​14914, #​14839)
  • Tests: We removed the monolithic test_pipelines_common.py test suite to establish more modularity and transparent implementation of tests. Refer to #​14669/ for more details.

Deprecations and compatibility

🚨 ONNX support is deprecated; use Optimum for ONNX Runtime workflows. (#​14658)

Previously deprecated APIs have been removed, including the LuminaText2ImgPipeline and Lumina2Text2ImgPipeline aliases. Use LuminaPipeline and Lumina2Pipeline instead. Older integrations should review the removed code paths before upgrading.

Thanks to everyone who contributed to this release!

All commits

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from 1d2370a to 0775aee Compare March 25, 2026 09:55
@renovate renovate Bot changed the title Update dependency diffusers to v0.37.0 Update dependency diffusers to v0.37.1 Mar 25, 2026
@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from 0775aee to b0abe83 Compare May 1, 2026 12:39
@renovate renovate Bot changed the title Update dependency diffusers to v0.37.1 Update dependency diffusers to v0.38.0 May 1, 2026
@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from b0abe83 to 96dd06b Compare July 3, 2026 10:28
@renovate renovate Bot changed the title Update dependency diffusers to v0.38.0 Update dependency diffusers to v0.39.0 Jul 3, 2026
@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from 96dd06b to c628851 Compare August 20, 2026 18:50
@renovate renovate Bot changed the title Update dependency diffusers to v0.39.0 Update dependency diffusers to v0.40.0 Aug 20, 2026
@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from c628851 to baa25ca Compare October 6, 2026 10:26
@renovate renovate Bot changed the title Update dependency diffusers to v0.40.0 Update dependency diffusers to v0.41.0 Oct 6, 2026
@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from baa25ca to eb36e4a Compare October 23, 2026 17:31
@renovate renovate Bot changed the title Update dependency diffusers to v0.41.0 Update dependency diffusers to v0.42.0 Oct 23, 2026
@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from eb36e4a to 045fd44 Compare October 27, 2026 08:35
@renovate renovate Bot changed the title Update dependency diffusers to v0.42.0 Update dependency diffusers to v0.42.1 Oct 27, 2026
@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from 045fd44 to a8c1b96 Compare November 12, 2026 11:53
@renovate renovate Bot changed the title Update dependency diffusers to v0.42.1 Update dependency diffusers to v0.43.0 Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants